GoodReadsUrl

object GoodReadsUrl

Helper object to construct GoodReads URLs.

Functions

Link copied to clipboard
fun forBookId(id: String): String

Get the full URL to a GoodReads book detail page from a GoodReads Book ID.

Link copied to clipboard
fun queryFor(title: String, author: String? = null): String

Get the full URL for a search query.

Properties

Link copied to clipboard
const val home: String

Base URL for the GoodReads front page.

Sources

Link copied to clipboard